Q3Shared_GetType
You can use theQ3Shared_GetType
function to get the type of a shared object.
TQ3ObjectType Q3Shared_GetType (TQ3SharedObject sharedObject);
sharedObject
- A shared object.
DESCRIPTION
TheQ3Shared_GetType
function returns, as its function result, the type identifier of the shared object specified by thesharedObject
parameter. If successful,Q3Shared_GetType
returns one of these constants:
kQ3SharedTypeControllerState kQ3SharedTypeDrawContext kQ3SharedTypeFile kQ3SharedTypeReference kQ3SharedTypeRenderer kQ3SharedTypeSet kQ3SharedTypeShape kQ3SharedTypeShapePart kQ3SharedTypeStorage kQ3SharedTypeString kQ3SharedTypeTexture kQ3SharedTypeTracker kQ3SharedTypeViewHintsIf the type cannot be determined or is invalid,Q3Shared_GetType
returns the valuekQ3ObjectTypeInvalid
.